home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Apple Location Manager / Makefile < prev    next >
Encoding:
Makefile  |  1997-05-19  |  1.3 KB  |  54 lines  |  [TEXT/MPS ]

  1. #
  2. #     File:        Makefile
  3. #     Contains:    Location Manager SDK Sample Module MPW Makefile
  4. #     Version:    ALM SDK 1.0
  5. #                 Package:    Location Manager SDK 1.0
  6. #     Copyright:    © 1984-1997 by Apple Computer, Inc.
  7. #                 All rights reserved.
  8. #     Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  9. #                 stack.  Include the file and version information (from above)
  10. #                 in the problem description and send to:
  11. #                     Internet:    apple.bugs@apple.com
  12. #
  13.  
  14. MAKEFILE         =    "Makefile"
  15. ObjDir            =    :Objects:
  16. SrcDir            =    :Sources:
  17.  
  18. ALMHeaderDir    =    :ALMInterfaces:
  19.  
  20. COptions         =    -b 
  21.  
  22. Objects            =                                 ∂
  23.                     "{ObjDir}Sample.c.o"         ∂
  24.                     "{ObjDir}Utilities.c.o"
  25.  
  26. Generic ƒ {ObjDir}Generic
  27.     duplicate -y {ObjDir}Generic {targ}
  28.     setfile {targ} -a C
  29.  
  30. {ObjDir}Generic ƒƒ {MAKEFILE} {Objects}
  31.     ilink                             ∂
  32.         -o {Targ}                     ∂
  33.         {Objects}                     ∂
  34.         -t 'thng' -c 'walk'         ∂
  35.         -sg "Main"                     ∂
  36.         -rt 'code=10000'             ∂
  37.         -m MAIN                     ∂
  38.         "{Libraries}IntEnv.o"         ∂
  39.         "{Libraries}Interface.o"
  40.  
  41. {ObjDir}Generic ƒƒ {MAKEFILE} "{SrcDir}Sample.r"
  42.     rez "{SrcDir}Sample.r" -i {ALMHeaderDir} -o {Targ} {Includes} -append
  43.  
  44. "{ObjDir}Sample.c.o" ƒ {MAKEFILE} "{SrcDir}Sample.c"
  45.     {C} "{SrcDir}Sample.c" -i {ALMHeaderDir} -o {Targ} {COptions}
  46.  
  47. "{ObjDir}Utilities.c.o" ƒ {MAKEFILE} "{SrcDir}Utilities.c"
  48.     {C} "{SrcDir}Utilities.c" -i {ALMHeaderDir} -o {Targ} {COptions}
  49.  
  50.